#import "OmBuyKingHatVCTableViewCell.h"
@interface OmBuyKingHatVCTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *selectIcon;
@property (weak, nonatomic) IBOutlet UILabel *planLabel;
@property (weak, nonatomic) IBOutlet UILabel *totalPriceLabel;
@end
@implementation OmBuyKingHatVCTableViewCell
- (void)awakeFromNib {
    [super awakeFromNib];
    [self setSelectionStyle:UITableViewCellSelectionStyleNone];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    [self.selectIcon setImage:IMAGE_NAMED(selected?@"OmSelect":@"OmDeSelect")];
}
- (void)setModel:(MemberApiSelectSchemeModel *)model {
    _model = model;
    self.planLabel.text = [NSString stringWithFormat:@"%@%@", model.day_num, ASLocalizedString(@"天")];
    self.totalPriceLabel.text = [NSString stringWithFormat:@"$%.2f", model.money];
}
@end
